<%@page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Novatec - Login</title>
</head>
<script>
function verificar() {
	if (top != self) {
		top.location="/novatec/intranet/ingreso";
	} else {
	    document.formIni.j_username.focus();
	}
}
</script>
<body onload="javascripRt:verificar();">
<form name="formIni" action="<c:url value='/j_spring_security_check'/>" method="POST">
<table border="1" width="800" align="center">
    <tr>
        <td colspan="2">Formulario de Login</td> 
    </tr>
    <tr>
        <td>Usuario: </td>
        <td><input type="text" name="j_username" maxlength="15" size="20"/></td>
    </tr>
    <tr>
        <td>Contrase&ntilde;a: </td>
        <td><input type="password" name="j_password" maxlength="15" size="20"/></td>
    </tr>
    <tr>
        <td colspan="2"><input type="submit" value="Ingresar"/></td>
    </tr>
    
</table>
</form>
</body>
</html>